package com.firexxx.vp.domain.audio;

import com.firexxx.vp.domain.stb.StbKey;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @description: TODO
 * @throws:
 * @author: zhuangzhang2
 * @date: 2019/12/11 16:04
 */

public interface AudioRepository extends JpaRepository<AudioEntity, Long> {

    List<AudioEntity> findAllByStbKey(StbKey stbKey);

    List<AudioEntity> findByIdIn(List<String> id);

    AudioEntity findByAudioId(String audioId);

}